package com.qtt.app.mapper;

import com.qtt.app.entity.CourseClass;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseClassMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CourseClass record);

    int insertSelective(CourseClass record);

    CourseClass selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CourseClass record);

    int updateByPrimaryKey(CourseClass record);

    List<CourseClass> getAll();

    CourseClass getCourseClassByCourseId(@Param("courseId") String courseId);


}